package pe.com.bbva.pct.util;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class Generic {

	public String getSBSCROIProperties(String key) {
		String resultado="";
		Properties properties = new Properties(); 
		InputStream is = this.getClass().getResourceAsStream("/localization/messages-label_es.properties");
		try {
		properties.load(is);
		resultado=properties.getProperty(key);
		} catch (IOException e) {
		resultado="Error";
		e.printStackTrace();
		}
		return resultado;
		}


	
	
}
